package ooday04;

public class Mastr1 {
    void feed(Animal1 animal1){
        animal1.eat();
        animal1.drink();
    }
    void feed(Dog1 dog1){
        dog1.eat();
        dog1.drink();
    }
}
